<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
$db['ldward']=array (
  'columns' =>
  array (  
    'id' =>
    array (
      'type' => 'int(10)',
      'required' => true,
      'pkey' => true,
      'extra' => 'auto_increment',
      'editable' => false,
      'label' => 'ID',
      'comment' => app::get('ome')->_('ID'),
    ),
    'code' =>
    array (
      'type' => 'varchar(20)',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'Code',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('Code'),
    ),
    'name' =>
    array (
      'type' => 'varchar(20)',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'Name',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('Name'),
    ),
    'shop_id' =>
    array (
      'type' => 'table:shop@ome',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'shop',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('shop'),
    ),
    'begin_date' =>
    array (
      'type' => 'time',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'begin_date',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('begin_date'),
    ),
    'end_date' =>
    array (
      'type' => 'time',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'end_date',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('end_date'),
    ),
    'create_time' =>
    array (
      'type' => 'time',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'create_time',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('create_time'),
    ),
    'operator' =>
    array (
      'type' => 'varchar(20)',
      'editable' => false,
      'in_list' => true,
      'default_in_list' =>true,
      'label' => 'operator',
      'searchtype' =>'has',
      'comment' => app::get('ome')->_('operator'),
    ),
  ),
  'index' =>
     array (
         'ind_id' =>
         array (
             'columns' =>
             array (
                 0 => 'id',
             ),
         ),
   ),
  'comment' => app::get('ome')->_('ldward档案'),
);
